<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

<form method="POST"
      action="uploadProcess.php"
      enctype="multipart/form-data"
      target="hidden-iframe">
    <input type="hidden" name="n" value="hiddenIframeImageUpload" />
    <input type="file" name="file" />
    <input type="submit"/>
</form>

<iframe name="hidden-iframe" id="hidden-iframe" style="display: none"></iframe>
<img id="target-image" src="" />
<script type="text/javascript" src="jquery.js"></script>
<script>
$('#hidden-iframe').on('load',function(){
    var url = window.frames['hidden-iframe'].window.data.data;
    $('#target-image').attr('src',url);
});
</script>
</body>
</html>